closed #1075
fix login forms