When I enter your code I get:
The value of the entered password is:
The value of the global password is: Test
When I change your code by substituting "Password" for "AdminLogin" I got:
The value of the entered password is: Test
The value of the global password is: Test
The first time, when I re-entered the information I got:
The value of the entered password is:
The value of the global password is: Test
This leaves me completely confused!
Steven.