Fix gdb batch flags
Add missing ldflags
Change daisy online test to first rely on given input parameters
Check for changed passwords on second login attempt
Link against local lib

prog_LDADD is inappropriate for passing program-specific linker flags (except for `-l', `-L', `-dlopen' and `-dlpreopen'). So, use the prog_LDFLAGS variable for this purpose.
Fix timer test
Merge pull request #8 from kolibre/login-race-bugfix

Login race bugfix