added fix line to index.html and test.php
Merge pull request #1 from artem-lubenskiy/1234-bug-login

merging master with 1234-bug-login