Dirty hack to hide password input, throws some compiler warnings for reasons I can't work out