LPS-32910 Fix facebook login. If facebookId equals zero it returns the default user but it shoudn't
LPS-32910 source formatting
LPS-32910 Put the facebook attribute in session for login only when the user is properly retrieved, so if the user is not found we don't have the attribute in the session. If we retrieve the user by email address, we should put the attribute only if the account process is completed, otherwise we won't
LPS-32910 make sure only complete users are logged in
LPS-32910 If when login with Facebook the user is incomplete, we should redirect them to update_account.jsp so the use can decide whether to associate the account or create a new one. Improve update_account so it can retrieve all the information of the user by passing the userId.
LPS-32910 don't allow users to see other users's information
LPS-32910 If the user decides to associate the account we need to update the user information, complete the account, and log him in. In case of facebook we don't want to autogenerate password neither send an email. The redirect parameter in update_account is necessary for redirecting to login_redirect and close the pop up window.
LPS-32910 The user information should be updated to reflect the information provided by Facebook
LPS-32910 source formatting
LPS-32910 SF