How to programmatically login/authenticate a user? How to programmatically login/authenticate a user? php php