Nice little hack! prelogin_test decorator