Close errorbox on successfull login (osx)
Fix licence