loginsecure fix