Roots Discourse

Custom login with theme-my-login html output

I have a default Bedrock/Sage setup with themy-my-login plugin installed additionally ("wpackagist-plugin/theme-my-login":"7.0.11").

The plugin does its job, but the html output is very strange. I have some plugins scripts before html starts (on login, logout, register and password reset page). See screenshot below:

This issue does not appear with the other themes that comes with the WordPress installation. When I comment out following action in the plugin, the issue disappears:

https://github.com/theme-my-login/theme-my-login/blob/master/src/includes/functions.php Line 266

/** This action is documented in wp-login.php */
// do_action( 'login_head' );

Can anyone reproduce this issue? If so, is this plugin or sage related?

Thanks,
Philipp