Added throws to login validation. Added tests.
Merge branch 'communication' of https://github.com/genomizer/genomizer-server.git into communication