FS-2 added tests for login and registration with ioexceptions