Use find_by_id instead of find when looking for user
Merge pull request #514 from arnvald/dont-raise-exception-on-login-from-session

Use find_by_id instead of find when looking for user