I can't login to my own Minecraft server?

I recently created a hamachi server on my PC. I wanted to login and build some stuff on it but whenever I try to login it just says:

Connection lost, failed login: bad login
Here is my server.properties file, if it helps:

#Minecraft server properties
#Tue Aug 19 01:17:25 EDT 2014
generator-settings=
op-permission-level=4
allow-nether=true
level-name=world
enable-query=false
allow-flight=true
server-port=25565
level-type=DEFAULT
enable-rcon=false
force-gamemode=false
level-seed=
server-ip=
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
texture-pack=
hardcore=false
snooper-enabled=true
online-mode=true
pvp=true
difficulty=1
gamemode=0
player-idle-timeout=0
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10
motd=How can she slap?

You probly have poor connection that happened with my sever a few times it didn't open for a while. Then I moved near the connection box thing and it opend

Well you play minecraft so I guess you had this coming

What is a Minecraft and what does it do?

Not worth creating a hamachi server. You shouldn't even bothering on creating one, if you want to create a server so bad you should definitely go ROOT.

Make sure you're client and server version are the same (up to date doesn't matter).