This is a Samsung problem that they have never gotten around to fixing. Had exact same issue on both my S3 and S5. Occurs with different routers. Apple iphone connects automatically all the time. Forgetting the network will fix it temporarily but then it will come back again. Who know, maybe...